<%@ page contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div id="Friendly_link">
	<div class="Friendly_link_head"></div>
    <div class="friendly_ad">
        <ul>
        	<c:forEach var="ad" items="${map.ad_2}" begin="0" end="5">
	            <li>
	            	<a href="${ad.address}"><img src="${ctx}/upload/enterprice/${ad.photo}"/></a>
	            </li>
            </c:forEach>
        </ul>
    </div>
    <div class="Friendly_link_left">
        <div class="selectStyle1">
             <ul>
                 <li>
                	<select onchange="if(this.options[this.selectedIndex].value!='')window.open(this.options[this.selectedIndex].value)">
                	   <c:forEach var="link" items="${map.link_1}">
	                    	<option value="${link.address}">${link.names}</option>
                        </c:forEach>
                    </select>
                </li>
                <li>
                    <select onchange="if(this.options[this.selectedIndex].value!='')window.open(this.options[this.selectedIndex].value)">
                        <c:forEach var="link" items="${map.link_2}">
	                    	<option value="${link.address}">${link.names}</option>
                        </c:forEach>
                    </select>
                </li>
                <li>
                    <select onchange="if(this.options[this.selectedIndex].value!='')window.open(this.options[this.selectedIndex].value)">
                       <c:forEach var="link" items="${map.link_3}">
	                    	<option value="${link.address}">${link.names}</option>
                        </c:forEach>
                    </select>
                </li>
                <li>
                     <select onchange="if(this.options[this.selectedIndex].value!='')window.open(this.options[this.selectedIndex].value)">
                    	 <c:forEach var="link" items="${map.link_4}">
	                    	<option value="${link.address}">${link.names}</option>
                        </c:forEach>
                     </select>
                 </li>
            </ul>
        </div>
    </div>
     <a href="#top"><div class="Friendly_link_right"></div></a>
</div>
<div id="footer">
	<div class="footer_company"></div>
    <div class="footer_addr"></div>
    <div class="footer_copyright">${webSite.copyright}</div>
</div>